package com.ruoyi.edh.service;

import com.alipay.easysdk.payment.app.models.AlipayTradeAppPayResponse;
import com.egzosn.pay.common.bean.PayOrder;
import com.ruoyi.common.exception.OrderException;
import com.ruoyi.common.exception.PayException;
import com.ruoyi.edh.domain.bo.OrderPayBo;
import org.apache.xmlbeans.impl.xb.xsdschema.Public;

import java.text.ParseException;
import java.util.Map;

/**
 *
 *
 * @description:
 * @return:
 * @author: 梁东宸
 * @time: 2020/9/7 11:19 上午
 */
public interface IEdhMasterOrderAliPayService {
    /**
     *
     *
     * @description: 根据订单号 支付
     * @param masterOrderNo
     * @return:
     * @author: 梁东宸
     * @time: 2020/9/7 1:34 下午
     */
    public PayOrder masterOrderAliPay(String masterOrderNo);
    /**
     *@Author: 周爱鸿
     *@Description: 根据订单号支付
     *@CreateDate: 2020/11/13 9:51
     */
    public AlipayTradeAppPayResponse masterOrderAliPay1(String masterOrderNo) throws Exception;
    /**
     *
     *
     * @description: 付款成功
     * @param params
     * @return:
     * @author: 梁东宸
     * @time: 2020/9/7 1:38 下午
     */
    public Boolean  payMentSuccess(OrderPayBo orderPayBo) throws PayException, OrderException, ParseException;
}
